package com.ustc.hewei.commonmodule.service;

import com.ustc.hewei.commonmodule.dto.Result;
import com.ustc.hewei.commonmodule.dto.UserDTO;
import com.ustc.hewei.commonmodule.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hewei
 * @since 2022-10-05
 */
public interface IFollowService extends IService<Follow> {

    Result follow(Long followedUserId, boolean isFollowed, UserDTO userDTO);

    Result isFollow(Long followedUserId, UserDTO userDTO);

    Result commonFollow(Long followedUserId, UserDTO userDTO);
}
